<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>凡客-会员中心-我的订单</title>
		<link rel="stylesheet" type="text/css" href="{{__PUBLIC__}}/Home/org/bootstrap-3.3.5-dist/css/bootstrap.min.css" />
		<script src="{{__PUBLIC__}}/Home/js/jquery-1.7.2.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="{{__PUBLIC__}}/Home/org/bootstrap-3.3.5-dist/js/bootstrap.min.js" type="text/javascript" charset="utf-8"></script>

		<link rel="stylesheet" type="text/css" href="{{__PUBLIC__}}/Home/css/safe.css" />

		

		<!-- 弹窗插件 -->
		<script src="{{__PUBLIC__}}/Home/js/qikoo.js" type="text/javascript" charset="utf-8"></script>
		<link rel="stylesheet" type="text/css" href="{{__PUBLIC__}}/Home/css/qikoo.css" />
	</head>

	<body>
		{{include file="VIEW_PATH/Common/header.php"}}
		<!--主体部分-->

		<div id="position">
			您当前的位置：<a href="{{U('Index/index')}}">凡客首页</a> > <a href="{{U('index')}}">我的凡客</a> > <a href="javascript:;">修改密码</a>
		</div>
		<div id="welcome">
			<div id="side-nav">
				<h2><a href="{{U('index')}}">我的凡客</a></h2>
				<ul>
					<li>
						<h3>订单中心</h3>
					</li>
					<li>
						<a href="{{U('dingdan')}}">·我的订单</a>
					</li>
					
				</ul>
				<ul>
					<li>
						<h3>客户服务</h3>
					</li>
					<li>
						<a href="{{U('tui')}}">·退换货办理</a>
					</li>
					
				</ul>
				<ul>
					<li>
						<h3>账户管理</h3>
					</li>
					<li>
						<a href="{{U('record')}}">·账户记录</a>
					</li>
					<li>
						<a href="{{U('address')}}">·收货地址</a>
					</li>
					<li class="index">
						<a href="javascript:;">·修改密码</a>
					</li>
					<li>
						<a href="{{U('ziliao')}}">·我的资料</a>
					</li>
					
				</ul>
			</div>
			
			
		<!--内容部分-->
		<script type="text/javascript">
			$(function(){
				$('#passForm').submit(function() {
					var data = $('#passForm').serialize();
					$.ajax({
						url: '{{U('ajaxPass')}}',
						type: 'POST',
						dataType: 'json',
						data: data,
						success:function(arr){
							if(arr.status){
								alert(arr.message);
								window.location.href='{{U('Login/login')}}';
							}else{
								alert(arr.message);
							}
						}
					})
					
					
					return false;
				});
			})
		</script>
		<!--右侧区域-->
		<form action="" method="post" id="passForm">
			<div class="nR_r">
				<div class="nR_r_1">
					<h3>
						<span>修改密码</span>
						<p>为保障账户安全，建议避免使用与其他网站相同密码</p>
					</h3>
					<ul>
						<li>
							<span>我的旧密码：</span>
							<input type="password" name="password" id="" />
						</li>
						<li>
							<span>请输入新密码：</span>
							<input type="password" name="newPassword" id="" />
						</li>
						<li>
							<span>请再次输入新密码：</span>
							<input type="password" name="confirmPassword" id="" />
						</li>
						<style type="text/css">
							.code_li img{
								margin-left: 150px;
							}
							.code_li p{
								margin-left: 150px;
							}
						</style>
						<li class="code_li">
							<script type="text/javascript">
								$(function(){
									$('#change').click(function(){
										var src=$('.code').attr('src');
										var fulldest=src+'?'+Math.random();
										$('.code').attr('src',fulldest);
									})
								})
							</script>
							<img src="{{U('code')}}" class="code"  onclick="this.src=this.src+'&'+Math.random()" />
							<a href="javascript:;" id="change">看不清？<span class="huan" style="width:40px;">换一张</span></a>
							<p class="yincang" style="margin-top: 0;">请输入图片中的验证码，区分大小写</p>
							<span>请输入以上验证码：</span>
							<input type="text" name="passcode" id="" />
						</li>
						<li>
							<input type="submit" value="确定" />
						</li>
					</ul>
				</div>
			</div>
		</form>
		<!--右侧区域结束-->
			
		</div>
		{{include file="VIEW_PATH/Common/footer.php"}}

	</body>

</html>